package net.maku.im.convert;

import net.maku.im.entity.ImGroupMessageEntity;
import net.maku.im.vo.ImGroupMessageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 群聊消息
*
* @author Blue 
* @since 1.0.0 2024-07-20
*/
@Mapper
public interface ImGroupMessageConvert {
    ImGroupMessageConvert INSTANCE = Mappers.getMapper(ImGroupMessageConvert.class);

    ImGroupMessageEntity convert(ImGroupMessageVO vo);

    ImGroupMessageVO convert(ImGroupMessageEntity entity);

    List<ImGroupMessageVO> convertList(List<ImGroupMessageEntity> list);

}